import houtaiAx from '@/utils/houtai'
// 新建角色并分配该角色的权限
export const allotRights = function (roleName, idString) {
  return houtaiAx.post(`roles/${roleName}/rights`, {
    rids: idString
  })
}
